Skip to content

Comments

Compatibility with bmf "mesh" file format #88

Merged
leoguignard merged 13 commits intov3.xfrom
mesh_handling
Sep 19, 2025
Merged

Compatibility with bmf "mesh" file format #88
leoguignard merged 13 commits intov3.xfrom
mesh_handling

Conversation

@jules-vanaret
Copy link
Contributor

This PR adds a loader function for the bmf "mesh" file format. This format allows very simple tracks (i.e just chains) to be stored, but cannot handle divisions.

Loading bmf files requires the binarymeshformat library, and meshes are then stored in the LineageTree instance per-nodes via the dictionary lT.mesh. For instance, lT.mesh[i] contains a dictionary {"vertices":np.array([...]),"faces":np.array([...])} of vertices coordinates (shape (N, d), with d the number of spatial dimensions) and triangles by nodes indices (shape (N, 3)). We could choose to create a minimal class to hold the meshes data instead, this is debatable.

@codecov
Copy link

codecov bot commented Sep 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.43%. Comparing base (b523c46) to head (0e94bc8).
⚠️ Report is 14 commits behind head on v3.x.

Additional details and impacted files
@@           Coverage Diff           @@
##             v3.x      #88   +/-   ##
=======================================
  Coverage   86.43%   86.43%           
=======================================
  Files          20       20           
  Lines        1792     1792           
=======================================
  Hits         1549     1549           
  Misses        243      243           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leoguignard leoguignard merged commit 764b97b into v3.x Sep 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants